﻿using System.Collections.Generic;
using Ninject;
using Ninject.Modules;
using Soundteller.Application.Facade;

namespace Soundteller.Application
{
    public static class GameFactory
    {
        public static Game CreateGame(List<NinjectModule> modules)
        {
            IKernel kernel = new StandardKernel(modules.ToArray());

            return kernel.Get<Game>();
        }
    }
}